const ApiConfig = {
    Methods: {
        POST: "post",
        GET: "get"
    },
    PATH: {
        Account: {
            Login: process.env.VITE_API_URL + "/Login/UserLogin", //登录接口
            LoginOut: process.env.VITE_API_URL + "/Login/UserLogout",//登出接口
        },
        User: {
            Create: process.env.VITE_API_URL + "/User/CreateUserAsync",
            Update: process.env.VITE_API_URL + "/User/UpdateUserAsync",
            DeleteByUserId: process.env.VITE_API_URL + "/User/DeleteByUserIdAsync",
            GetUserByOrgId: process.env.VITE_API_URL + "/User/GetUserByOrgIdAsync",
            GetUserByRoleId: process.env.VITE_API_URL + "/User/GetUserByRoleIdAsync",
            GetUserRolesByUserId: process.env.VITE_API_URL + "/User/GetUserRolesByUserIdAsync",
            ConfigureUserRoles: process.env.VITE_API_URL + "/User/ConfigureUserRolesAsync",
        },
        Org: {
            Create: process.env.VITE_API_URL + "/Org/CreateOrgAsync",
            Update: process.env.VITE_API_URL + "/Org/UpdateOrgAsync",
            DeleteByOrgId: process.env.VITE_API_URL + "/Org/DeleteByOrgIdAsync",
            GetAll: process.env.VITE_API_URL + "/Org/GetAllOrgAsync",
            GetAllOrgByOrgId: process.env.VITE_API_URL + "/Org/GetAllOrgByOrgId",
            GetAllAndChild: process.env.VITE_API_URL + "/Org/GetAllAndChildAsync",
        },
        Menu: {
            Create: process.env.VITE_API_URL + "/Menu/CreateMenuAsync",
            Update: process.env.VITE_API_URL + "/Menu/UpdateMenuAsync",
            DeleteByMenuId: process.env.VITE_API_URL + "/Menu/DeleteByMenuIdAsync",
            GetAllMenu: process.env.VITE_API_URL + "/Menu/GetAllMenuAsync",
            GetMenuTree: process.env.VITE_API_URL + "/Menu/GetMenuTreeAsync"
        },
        Role: {
            Create: process.env.VITE_API_URL + "/Role/CreateRoleAsync",
            Update: process.env.VITE_API_URL + "/Role/UpdateRoleAsync",
            DeleteByRoleId: process.env.VITE_API_URL + "/Role/DeleteByRoleIdAsync",
            GetAllRole: process.env.VITE_API_URL + "/Role/GetAllRoleAsync",
            GetAll: process.env.VITE_API_URL + "/Role/GetAllRoleAsync",
        },
        Authority: {
            Create: process.env.VITE_API_URL + "/Authority/CreateAuthorityAsync",
            Update: process.env.VITE_API_URL + "/Authority/UpdateAuthorityAsync",
            DeleteByAuthorityId: process.env.VITE_API_URL + "/Authority/DeleteByAuthorityIdAsync",
            GetAllAuthority: process.env.VITE_API_URL + "/Authority/GetAllAuthoritiesAsync",
            GetAllMenuAuthority: process.env.VITE_API_URL + "/Authority/GetAllMenuAuthoritiesAsync",
            GetAllAuthoritiesToLevel: process.env.VITE_API_URL + "/Authority/GetAllAuthoritiesToLevelAsync",
            SetAuthorityToRole: process.env.VITE_API_URL + "/Authority/SetAuthorityToRoleAsync",
        },
        Project: {
            Create: process.env.VITE_API_URL + "/Project/CreateProjectAsync",
            Update: process.env.VITE_API_URL + "/Project/UpdateProjectAsync",
            UpdateProjectSpecificContent: process.env.VITE_API_URL + "/Project/UpdateProjectSpecificContentAsync",
            DeleteByProjectId: process.env.VITE_API_URL + "/Project/DeleteByProjectIdAsync",
            GetAllProject: process.env.VITE_API_URL + "/Project/GetAllProjectAsync",
            GetProjectStakeholder: process.env.VITE_API_URL + "/Project/GetProjectStakeholderAsync",
            GetProjectDetail: process.env.VITE_API_URL + "/Project/GetProjectDetailAsync",
            GetProjectDocments: process.env.VITE_API_URL + "/Project/GetProjectDocmentsAsync",
            DeleteProjectDocByObjectId: process.env.VITE_API_URL + "/Project/DeleteProjectDocByObjectIdAsync",
            GetAllProjectByCreateUser: process.env.VITE_API_URL + "/Project/GetAllProjectByCreateUserAsync",

            //项目设置
            CreateProjectSetting: process.env.VITE_API_URL + "/Project/CreateProjectSettingAsync",
            UpdateProjectSetting: process.env.VITE_API_URL + "/Project/UpdateProjectSettingAsync",
            DeleteByProjectSettingId: process.env.VITE_API_URL + "/Project/DeleteByProjectSettingIdAsync",
            GetAllProjectSetting: process.env.VITE_API_URL + "/Project/GetAllProjectSettingAsync",

            //项目需求
            FormulateProjectRequirement: process.env.VITE_API_URL + "/ProjectRequirement/FormulateProjectRequirementAsync",
            GetRequirementDetailByProjectId: process.env.VITE_API_URL + "/ProjectRequirement/GetRequirementDetailByProjectIdAsync",
            GetRequirementEntityByProjectId: process.env.VITE_API_URL + "/ProjectRequirement/GetRequirementEntityByProjectIdAsync",
            GetRequirementDetailByRequirementId: process.env.VITE_API_URL + "/ProjectRequirement/GetRequirementDetailByRequirementIdAsync",
            GetProjectRequirements: process.env.VITE_API_URL + "/ProjectRequirement/GetProjectRequirementsAsync",
            UpdateRequirementMainSpecificContent: process.env.VITE_API_URL + "/ProjectRequirement/UpdateRequirementMainSpecificContentAsync",
            GetRequirementDetailById: process.env.VITE_API_URL + "/ProjectRequirement/GetRequirementDetailByIdAsync",
            GetProjectRequirementTree: process.env.VITE_API_URL + "/ProjectRequirement/GetProjectRequirementTreeAsync",

            //项目进度
            FormulateProjectSchedule: process.env.VITE_API_URL + "/ProjectSchedule/FormulateProjectScheduleAsync",
            GetScheduleDetailByProjectId: process.env.VITE_API_URL + "/ProjectSchedule/GetScheduleDetailByProjectIdAsync",
            GetScheduleEntityByProjectId: process.env.VITE_API_URL + "/ProjectSchedule/GetScheduleEntityByProjectIdAsync",
            GetProjectSchedules: process.env.VITE_API_URL + "/ProjectSchedule/GetProjectSchedulesAsync",
            UpdateScheduleMainSpecificContent: process.env.VITE_API_URL + "/ProjectSchedule/UpdateScheduleMainSpecificContentAsync",
            GetScheduleDetailById: process.env.VITE_API_URL + "/ProjectSchedule/GetScheduleDetailByIdAsync",
            GetTasksOfPerson: process.env.VITE_API_URL + "/ProjectSchedule/GetTasksOfPersonAsync",
            GetTaskDosByTaskId: process.env.VITE_API_URL + "/ProjectSchedule/GetTaskDosByTaskIdAsync",
            CreateTaskDo: process.env.VITE_API_URL + "/ProjectSchedule/CreateTaskDoAsync",
            DelTaskDoById: process.env.VITE_API_URL + "/ProjectSchedule/DelTaskDoByIdAsync",
            UpdateTaskDo: process.env.VITE_API_URL + "/ProjectSchedule/UpdateTaskDoAsync",
            GetDeepChildTasksByPId: process.env.VITE_API_URL + "/ProjectSchedule/GetDeepChildTasksByPIdAsync",
            GetScheduleTaskByRId: process.env.VITE_API_URL + "/ProjectSchedule/GetScheduleTaskByRIdAsync",
            GetProjectScheduleTree: process.env.VITE_API_URL + "/ProjectSchedule/GetProjectScheduleTreeAsync",
            GetScheduleDetailByScheduleId: process.env.VITE_API_URL + "/ProjectSchedule/GetScheduleDetailByScheduleIdAsync",

            //项目团队
            GetProjectTeams: process.env.VITE_API_URL + "/ProjectTeam/GetProjectTeamsAsync",
            GetTeamMembersByMId: process.env.VITE_API_URL + "/ProjectTeam/GetTeamMembersByMIdAsync",
            GetTeamMembersByProjectId: process.env.VITE_API_URL + "/ProjectTeam/GetTeamMembersByProjectIdAsync",
            FormulateProjectTeam: process.env.VITE_API_URL + "/ProjectTeam/FormulateProjectTeamAsync",
            UpdateTeamMainStatus: process.env.VITE_API_URL + "/ProjectTeam/UpdateTeamMainStatusAsync",

            //项目变更
            GetProjectChanges: process.env.VITE_API_URL + "/ProjectChange/GetProjectChangesAsync",
        },
        Flow: {
            //主流程
            Create: process.env.VITE_API_URL + "/Flow/CreateFlowAsync",
            Update: process.env.VITE_API_URL + "/Flow/UpdateFlowAsync",
            DeleteByFlowId: process.env.VITE_API_URL + "/Flow/DeleteByFlowIdAsync",
            GetAllFlow: process.env.VITE_API_URL + "/Flow/GetAllFlowAsync",
            GetFlowDetail: process.env.VITE_API_URL + "/Flow/GetFlowDetailAsync",
            //流程节点
            CreateNode: process.env.VITE_API_URL + "/Flow/CreateFlowNodeAsync",
            UpdateNode: process.env.VITE_API_URL + "/Flow/UpdateFlowNodeAsync",
            DeleteByFlowNodeId: process.env.VITE_API_URL + "/Flow/DeleteByFlowNodeIdAsync",
            GeFlowNodeByFlowId: process.env.VITE_API_URL + "/Flow/GeFlowNodeByFlowIdAsync",
            GeFlowStartNodeByFlowId: process.env.VITE_API_URL + "/Flow/GeFlowStartNodeByFlowIdAsync",
            GetApproveUserByNodeId: process.env.VITE_API_URL + "/Flow/GetApproveUserByNodeIdAsync",
            //流程类型
            CreateFlowType: process.env.VITE_API_URL + "/Flow/CreateFlowTypeAsync",
            UpdateFlowType: process.env.VITE_API_URL + "/Flow/UpdateFlowTypeAsync",
            DeleteByFlowTypeId: process.env.VITE_API_URL + "/Flow/DeleteByFlowTypeIdAsync",
            GetAllFlowType: process.env.VITE_API_URL + "/Flow/GetAllFlowTypeAsync",
            GeFlowTypeTree: process.env.VITE_API_URL + "/Flow/GeFlowTypeTreeAsync",
            GetProjectFlowType: process.env.VITE_API_URL + "/Flow/GetProjectFlowTypeAsync",
        },
        Approve: {
            Create: process.env.VITE_API_URL + "/Approve/CreateApproveMainAsync",
            Update: process.env.VITE_API_URL + "/Approve/UpdateApproveMainAsync",
            DeleteApproveMainByFId: process.env.VITE_API_URL + "/Approve/DeleteApproveMainByFIdAsync",
            DeleteApproveRecordByNodeId: process.env.VITE_API_URL + "/Approve/DeleteApproveRecordByNodeIdAsync",
            GetAllApproveMain: process.env.VITE_API_URL + "/Approve/GetAllApproveMainAsync",
            GetWaitToBeDoneApproveMain: process.env.VITE_API_URL + "/Approve/GetWaitToBeDoneApproveMainAsync",
            DoApprove: process.env.VITE_API_URL + "/Approve/DoApproveAsync",
            GetWaitToBeDownRecord: process.env.VITE_API_URL + "/Approve/GetWaitToBeDownRecordAsync",
            GetAllCheckedRecordsByPId: process.env.VITE_API_URL + "/Approve/GetAllCheckedRecordsByPIdAsync",
            UpdateApproveMainSpecificContent: process.env.VITE_API_URL + "/Approve/UpdateApproveMainSpecificContentAsync",
            GetNextFlowNode: process.env.VITE_API_URL + "/Approve/GetNextFlowNodeAsync",
        },
        File: {
            Upload: process.env.VITE_API_URL + '/File/UploadFiles',
            Download: process.env.VITE_API_URL + '/File/DownloadFile',
            Delete: process.env.VITE_API_URL + '/File/DeleteFile'
        },
    }
};

export default ApiConfig;